package jxust.isp4mn.serviceImpl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import jxust.isp4mn.dao.TestDao;
import jxust.isp4mn.model.TestModel;
import jxust.isp4mn.service.TestService;

@Component("testService")
public class TestServiceImpl implements TestService{
	@Resource
	private TestDao testDao;
	public void add(TestModel test) {
		testDao.add(test);
	}
	public List<TestModel> findAll() {
		return testDao.findAll();
	}

}
